package com.cake.entity.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.cake.entity.XxOrderItem;

/**
 * 订单综合返回对象
 * @author Administrator
 *
 */
public class OrderPoJo {
	/**
	 * 订单主键
	 */
	private Long id;
	/**
	 * 订单号
	 */
	private String sn;
	/**
	 * 订单配送金额
	 */
	private BigDecimal freight;
	/**
	 * 优惠券抵扣金额
	 */
	private BigDecimal couponDiscount;
	/**
	 * 订单支付金额
	 */
	private BigDecimal amountPaid;
	/**
	 * 订单赠送积分
	 */
	private Integer point;
	/**
	 * 订单消费积分
	 */
	private Integer shopingPoint;
	/**
	 * 收货人名称
	 */
	private String consignee;
	/**
	 * 收货人详细地址
	 */
	private String address;
	/**
	 * 收货人电话
	 */
	private String receivePhone;
	/**
	 * 下单会员名称
	 */
	private String memberName;
	/**
	 * 下单会员电话
	 */
	private String memberPhone;
	/**
	 * 快递运单号
	 */
	private String snOut;
	/**
	 * 订单购买商品总数量
	 */
	private Integer totalQuality;
	/**
	 * 订单总金额
	 */
	private BigDecimal totalAmount;
	/**
	 * 配送人员名称
	 */
	private String adminName;
	/** 
	 * 配送方式名称
	 */
	private String shippingMethodName;
	
	private List<XxOrderItem> orderItems = new ArrayList<XxOrderItem>();
	
	public List<XxOrderItem> getOrderItems() {
		return orderItems;
	}
	public void setOrderItems(List<XxOrderItem> orderItems) {
		this.orderItems = orderItems;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public BigDecimal getFreight() {
		return freight;
	}
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	public BigDecimal getCouponDiscount() {
		return couponDiscount;
	}
	public void setCouponDiscount(BigDecimal couponDiscount) {
		this.couponDiscount = couponDiscount;
	}
	public BigDecimal getAmountPaid() {
		return amountPaid;
	}
	public void setAmountPaid(BigDecimal amountPaid) {
		this.amountPaid = amountPaid;
	}
	public Integer getPoint() {
		return point;
	}
	public void setPoint(Integer point) {
		this.point = point;
	}
	public Integer getShopingPoint() {
		return shopingPoint;
	}
	public void setShopingPoint(Integer shopingPoint) {
		this.shopingPoint = shopingPoint;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getReceivePhone() {
		return receivePhone;
	}
	public void setReceivePhone(String receivePhone) {
		this.receivePhone = receivePhone;
	}
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	public String getMemberPhone() {
		return memberPhone;
	}
	public void setMemberPhone(String memberPhone) {
		this.memberPhone = memberPhone;
	}
	public String getSnOut() {
		return snOut;
	}
	public void setSnOut(String snOut) {
		this.snOut = snOut;
	}
	public Integer getTotalQuality() {
		return totalQuality;
	}
	public void setTotalQuality(Integer totalQuality) {
		this.totalQuality = totalQuality;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	public String getAdminName() {
		return adminName;
	}
	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}
	public String getShippingMethodName() {
		return shippingMethodName;
	}
	public void setShippingMethodName(String shippingMethodName) {
		this.shippingMethodName = shippingMethodName;
	}
	
}
